package com.ruoyi.temu.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class QueryMangoUrlResponse {

    @JsonProperty("success")
    private Boolean success;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("_xid")
    private String xid;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getXid() {
        return xid;
    }

    public void setXid(String xid) {
        this.xid = xid;
    }

    public static class DataDTO {
        @JsonProperty("total")
        private Integer total;
        @JsonProperty("list")
        private List<ListDTO> list;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class ListDTO {
            @JsonProperty("id")
            private Integer id;
            @JsonProperty("creator")
            private String creator;
            @JsonProperty("gmtCreate")
            private Long gmtCreate;
            @JsonProperty("modifier")
            private String modifier;
            @JsonProperty("owner")
            private String owner;
            @JsonProperty("gmtModified")
            private Long gmtModified;
            @JsonProperty("userId")
            private Integer userId;
            @JsonProperty("authId")
            private Integer authId;
            @JsonProperty("authName")
            private String authName;
            @JsonProperty("productImageUrl")
            private String productImageUrl;
            @JsonProperty("sourceUrlList")
            private List<String> sourceUrlList;
            @JsonProperty("onlineUrl")
            private String onlineUrl;
            @JsonProperty("currency")
            private String currency;
            @JsonProperty("originalPrice")
            private Double originalPrice;
            @JsonProperty("groupId")
            private Integer groupId;
            @JsonProperty("platformProductId")
            private String platformProductId;
            @JsonProperty("categoryId")
            private String categoryId;
            @JsonProperty("productName")
            private String productName;
            @JsonProperty("isTimingPublished")
            private String isTimingPublished;
            @JsonProperty("sourceProductId")
            private String sourceProductId;
            @JsonProperty("isRepeat")
            private Boolean isRepeat;
            @JsonProperty("isRelease")
            private Boolean isRelease;
            @JsonProperty("status")
            private Integer status;
            @JsonProperty("canPublish")
            private Boolean canPublish;
            @JsonProperty("invalidMsg")
            private String invalidMsg;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getCreator() {
                return creator;
            }

            public void setCreator(String creator) {
                this.creator = creator;
            }

            public Long getGmtCreate() {
                return gmtCreate;
            }

            public void setGmtCreate(Long gmtCreate) {
                this.gmtCreate = gmtCreate;
            }

            public String getModifier() {
                return modifier;
            }

            public void setModifier(String modifier) {
                this.modifier = modifier;
            }

            public String getOwner() {
                return owner;
            }

            public void setOwner(String owner) {
                this.owner = owner;
            }

            public Long getGmtModified() {
                return gmtModified;
            }

            public void setGmtModified(Long gmtModified) {
                this.gmtModified = gmtModified;
            }

            public Integer getUserId() {
                return userId;
            }

            public void setUserId(Integer userId) {
                this.userId = userId;
            }

            public Integer getAuthId() {
                return authId;
            }

            public void setAuthId(Integer authId) {
                this.authId = authId;
            }

            public String getAuthName() {
                return authName;
            }

            public void setAuthName(String authName) {
                this.authName = authName;
            }

            public String getProductImageUrl() {
                return productImageUrl;
            }

            public void setProductImageUrl(String productImageUrl) {
                this.productImageUrl = productImageUrl;
            }

            public List<String> getSourceUrlList() {
                return sourceUrlList;
            }

            public void setSourceUrlList(List<String> sourceUrlList) {
                this.sourceUrlList = sourceUrlList;
            }

            public String getOnlineUrl() {
                return onlineUrl;
            }

            public void setOnlineUrl(String onlineUrl) {
                this.onlineUrl = onlineUrl;
            }

            public String getCurrency() {
                return currency;
            }

            public void setCurrency(String currency) {
                this.currency = currency;
            }

            public Double getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(Double originalPrice) {
                this.originalPrice = originalPrice;
            }

            public Integer getGroupId() {
                return groupId;
            }

            public void setGroupId(Integer groupId) {
                this.groupId = groupId;
            }

            public String getPlatformProductId() {
                return platformProductId;
            }

            public void setPlatformProductId(String platformProductId) {
                this.platformProductId = platformProductId;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getIsTimingPublished() {
                return isTimingPublished;
            }

            public void setIsTimingPublished(String isTimingPublished) {
                this.isTimingPublished = isTimingPublished;
            }

            public String getSourceProductId() {
                return sourceProductId;
            }

            public void setSourceProductId(String sourceProductId) {
                this.sourceProductId = sourceProductId;
            }

            public Boolean getIsRepeat() {
                return isRepeat;
            }

            public void setIsRepeat(Boolean isRepeat) {
                this.isRepeat = isRepeat;
            }

            public Boolean getIsRelease() {
                return isRelease;
            }

            public void setIsRelease(Boolean isRelease) {
                this.isRelease = isRelease;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public Boolean getCanPublish() {
                return canPublish;
            }

            public void setCanPublish(Boolean canPublish) {
                this.canPublish = canPublish;
            }

            public String getInvalidMsg() {
                return invalidMsg;
            }

            public void setInvalidMsg(String invalidMsg) {
                this.invalidMsg = invalidMsg;
            }
        }
    }
}
